export interface IProcesses {
  command: string;
  cpu: number;
  mem: number;
  name: string;
  pid: number;
  user: string;
}

export interface IServerMonitor {
  cpuCores: number;
  cpuModel: string;
  cpuUsage: number;
  diskUsage: number;
  memoryUsage: number;
  networkSpeed: {
    rx: number;
    tx: number;
  };
  systemInfo: string;
  systemLoad: {
    load1m: number;
    load5m: number;
    load15m: number;
  };
  topProcesses: IProcesses[];
  totalDisk: number;
  totalMemory: number;
  uptime: number;
}
